
package sg.edu.nus.iss.cats.dataaccess;

import sg.edu.nus.iss.cats.model.*;


public interface CourseDAO {

    public Course findCourse (String appId)
						throws DAOException;

	public Course[] findCoursesByEmployee (String employeeId)
						throws DAOException;

	public Course[] findCoursesPendingByEmployee (String employeeId)
						throws DAOException;

    public void insertCourse (Course course)
						throws DAOException;

    public void updateCourse (Course course)
						throws DAOUpdateException;

    public void deleteCourse (Course course)
						throws DAOException;

    public void insertCourseEvent (CourseEvent event)
						throws DAOException;

    public void updateCourseEvent (CourseEvent event)
						throws DAOUpdateException;

    public void deleteCourseEvent (CourseEvent event)
						throws DAOException;

}